package com.haoze.nurseapp.dao;

import com.haoze.nurseapp.dto.app.AppUpdateQueryDTO;
import com.haoze.nurseapp.model.AppUpgradeEntity;
import com.haoze.nurseapp.vo.app.AppUpdateResponseVO;
import org.apache.ibatis.annotations.Param;

/**
 * @author wangze
 * @date 2020-06-08 9:46.
 **/
public interface AppUpgraderMapper {

	/**
	 *查询
	 * @param appid
	 * @return
	 */
	AppUpgradeEntity queryAppUpdateInfo(@Param("appid") String appid);

	/**
	 * 新增
	 * @param appUpgrade
	 */
	void  addAppUpgrade(AppUpgradeEntity appUpgrade);

	/**
	 * 更新app版本
	 * @param appid
	 * @param version
	 */
	void  updateAppUpgrade(@Param("appid") String appid
			, @Param("version") String version
			, @Param("filePath") String filePath
			, @Param("note") String note
	);

}
